package com.yonyougov.devops.cruxcisupport.rolebutton;

import com.yonyougov.devops.cruxcisupport.rolebutton.vo.RoleButtonPageLikeDto;
import com.yonyougov.devops.cruxcisupport.rolebutton.vo.RoleButtonPageLikeVo;
import com.yonyougov.devops.fwc.core.dao.BaseDao;

import java.math.BigInteger;
import java.util.List;

/**
 * t_role_button数据层
 */
public interface RoleButtonDao extends BaseDao<RoleButtonEntity, BigInteger> {

    //<!--用户自定义代码开始-->

    List<RoleButtonPageLikeVo> findRoleButtonPageLike(RoleButtonPageLikeDto roleButtonPageLikeDto);

    int countByLikeRoleButton(RoleButtonPageLikeDto roleButtonPageLikeDto);

    void addBatch(List<RoleButtonEntity> roleButtonEntityList);

    void deleteBatchRoleButtonByIds(List<BigInteger> ids);

    //<!--用户自定义代码结束-->
}
